package com.lanchetech.service;


import com.lanchetech.entity.Orders;
import com.lanchetech.entity.Shop;
import com.lanchetech.service.KdzsPrintTradeUpdateRequest;
import com.raycloud.open.sdk.api.base.BaseKdzsOpenResponse;
import com.raycloud.open.sdk.api.request.KdzsPrintTradeRefundRequest;
import com.raycloud.open.sdk.api.response.KdzsPrintTradeCreateResponse;

public interface KuaidizsService {

    String getLoginUrl();

    String getLoginUrl(Shop shop);

    KdzsPrintTradeCreateResponse createTrade(Orders orders);

    BaseKdzsOpenResponse refundTrade(KdzsPrintTradeRefundRequest request);

    Boolean updateTrade(KdzsPrintTradeUpdateRequest req);

    KdzsPrintTradeCreateResponse testCreateTrade(Long id);

    Boolean testUpdateTrade(Long id);

    Boolean testUpdateTradeRefund(Long id);
}
